package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Expenditure;

/**
 * 支出Service接口
 * 
 * @author ruoyi
 * @date 2021-08-10
 */
public interface IExpenditureService 
{
    /**
     * 查询支出
     * 
     * @param id 支出主键
     * @return 支出
     */
    public Expenditure selectExpenditureById(Long id);

    /**
     * 查询支出列表
     * 
     * @param expenditure 支出
     * @return 支出集合
     */
    public List<Expenditure> selectExpenditureList(Expenditure expenditure);

    /**
     * 新增支出
     * 
     * @param expenditure 支出
     * @return 结果
     */
    public int insertExpenditure(Expenditure expenditure);

    /**
     * 修改支出
     * 
     * @param expenditure 支出
     * @return 结果
     */
    public int updateExpenditure(Expenditure expenditure);

    /**
     * 批量删除支出
     * 
     * @param ids 需要删除的支出主键集合
     * @return 结果
     */
    public int deleteExpenditureByIds(Long[] ids);

    /**
     * 删除支出信息
     * 
     * @param id 支出主键
     * @return 结果
     */
    public int deleteExpenditureById(Long id);

    /**
     * 审核支出
     *
     * @param expenditure 支出
     * @return 结果
     */
    public int auditeExpenditure(Expenditure expenditure);
}

